package mx.itschapala.dsw2.llantas.dao;

import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
import mx.itschapala.dsw2.llantas.modelo.Vendedor;

/**
 *
 * @author VENUMLEO
 */
@Stateless
public class Vendedordao extends Abstractdao<Vendedor> implements VendedordaoLocal {
    @PersistenceContext(unitName = "llantas-ejbPU")
    private EntityManager em;

    @Override
    protected EntityManager getEntityManager() {
        return em;
    }

    public Vendedordao() {
        super(Vendedor.class);
    }
    
}
